#include "ConsoleLog.h"

void YLOG(const char* strOutputString, ...)
{
	char strBuffer[1024] = { 0 };
	va_list vlArgs;
	va_start(vlArgs, strOutputString);
	_vsnprintf_s(strBuffer, sizeof(strBuffer) - 1, strOutputString, vlArgs);
	//vsprintf(strBuffer,strOutputString,vlArgs);
	va_end(vlArgs);
	OutputDebugString(strBuffer/*CA2W(strBuffer)*/);
};
